import random
import torch
import numpy as np
a = np.random.randn(3, 5)
print('初始化前\n', a)
np.random.seed(1)
b = np.random.randn(3, 5)
print('初始化后\n', b)
print('*'*50)
d = random.randint(0, 10)
print('d初始化前\n', d)
random.seed(2)
e = random.randint(0, 10)
print('e初始化后\n', e)

torch.manual_seed(1)
print(torch.rand(5, 5))
